<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>Item - Alignment</title>
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
  <link href="../../../../../css/ionic.bundle.css" rel="stylesheet">
  <link href="../../../../../scripts/testing/styles.css" rel="stylesheet">
  <script src="../../../../../scripts/testing/scripts.js"></script>
  <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
  <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
</head>

<body>
  <ion-app>

    <ion-header>
      <ion-toolbar>
        <ion-title>Item - Alignment</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content>
      <ion-list>
        <ion-list-header>Leading Icons</ion-list-header>
        <ion-item>
          <ion-icon slot="start" name="time"></ion-icon>
          <ion-datetime display-format="DDDD MMMM D YYYY hh:mm:ss a" value="2019-10-01T15:43:40.394Z"></ion-datetime>
        </ion-item>
        <ion-item>
          <ion-icon slot="start" name="radio-button-off"></ion-icon>
          <ion-input placeholder="Choose Starting Point"></ion-input>
        </ion-item>
        <ion-item>
          <ion-icon slot="start" name="pin"></ion-icon>
          <ion-select placeholder="Choose Really Really Long Destination Here">
            <ion-select-option>Madison, WI</ion-select-option>
            <ion-select-option>Atlanta, GA</ion-select-option>
          </ion-select>
        </ion-item>
      </ion-list>

      <ion-list>
        <ion-list-header>Default Labels</ion-list-header>
        <ion-item>
          <ion-label>Time</ion-label>
          <ion-datetime display-format="DDDD MMMM D YYYY hh:mm:ss a" value="2019-10-01T15:43:40.394Z"></ion-datetime>
        </ion-item>
        <ion-item>
          <ion-label>From</ion-label>
          <ion-input placeholder="Choose Starting Point"></ion-input>
        </ion-item>
        <ion-item>
          <ion-label>Destination</ion-label>
          <ion-select placeholder="Choose Really Really Long Destination Here">
            <ion-select-option>Madison, WI</ion-select-option>
            <ion-select-option>Atlanta, GA</ion-select-option>
          </ion-select>
        </ion-item>
      </ion-list>

      <ion-list>
        <ion-list-header>Fixed Labels</ion-list-header>
        <ion-item>
          <ion-label position="fixed">Time</ion-label>
          <ion-datetime display-format="DDDD MMMM D YYYY hh:mm:ss a" value="2019-10-01T15:43:40.394Z"></ion-datetime>
        </ion-item>
        <ion-item>
          <ion-label position="fixed">From</ion-label>
          <ion-input placeholder="Choose Starting Point"></ion-input>
        </ion-item>
        <ion-item>
          <ion-label position="fixed">Destination</ion-label>
          <ion-select placeholder="Choose Really Really Long Destination Here">
            <ion-select-option>Madison, WI</ion-select-option>
            <ion-select-option>Atlanta, GA</ion-select-option>
          </ion-select>
        </ion-item>
      </ion-list>

      <ion-list>
        <ion-list-header>Floating Labels</ion-list-header>
        <ion-item>
          <ion-label position="floating">Time</ion-label>
          <ion-datetime display-format="DDDD MMMM D YYYY hh:mm:ss a"></ion-datetime>
        </ion-item>
        <ion-item>
          <ion-label position="floating">From</ion-label>
          <ion-input></ion-input>
        </ion-item>
        <ion-item>
          <ion-label position="floating">Destination</ion-label>
          <ion-select>
            <ion-select-option>Madison, WI</ion-select-option>
            <ion-select-option>Atlanta, GA</ion-select-option>
          </ion-select>
        </ion-item>
      </ion-list>

      <ion-list>
        <ion-list-header>Stacked Labels</ion-list-header>
        <ion-item>
          <ion-label position="stacked">Time</ion-label>
          <ion-datetime display-format="DDDD MMMM D YYYY hh:mm:ss a" value="2019-10-01T15:43:40.394Z"></ion-datetime>
        </ion-item>
        <ion-item>
          <ion-label position="stacked">From</ion-label>
          <ion-input placeholder="Choose Starting Point"></ion-input>
        </ion-item>
        <ion-item>
          <ion-label position="stacked">Destination</ion-label>
          <ion-select placeholder="Choose Really Really Long Destination Here">
            <ion-select-option>Madison, WI</ion-select-option>
            <ion-select-option>Atlanta, GA</ion-select-option>
          </ion-select>
        </ion-item>
      </ion-list>

    </ion-content>
  </ion-app>

  <style>
    ion-item {
      --border-width: 0;
      --inner-border-width: 0;
      --background: #ddd;
      border-radius: 4px;
      margin-bottom: 10px;
    }
  </style>
</body>

</html>
